//
//  SCOneLoginTool.h
//  Shuaiche
//
//  Created by yujunyang on 2021/4/13.
//  Copyright © 2021 ShuaiChe. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <OneLoginSDK/OneLoginSDK.h>
NS_ASSUME_NONNULL_BEGIN

@interface SCOneLoginTool : NSObject

@property (nonatomic, copy) void(^loginSuccess)(void);
@property (nonatomic, assign) BOOL isPresented;
@property (nonatomic, assign) BOOL showRegisterIfNeeded;
@property (strong, nonatomic) UIViewController *viewController;

//+ (SCOneLoginTool *)shareInstance;

- (void)requestIsOneLogin:(BOOL)isPresented viewController:(UIViewController *)viewController otherLogin:(void (^)(void))otherLogin;

@end

NS_ASSUME_NONNULL_END
